import request from '@/http/index.js'
export default {
    // 轮播图获取
    getSlideshow(data) {
        return request({
            url: "/resources/carousel",
            method: "POST",
            data: data
        })
    },
    //各类数据
    PhoneData(data) {
        return request({
            url: "/product/getPromoProduct",
            method: "POST",
            data: data
        })
    },
    // 获取热门数据
    getHot(data) {
        return request({
            url: "/product/getHotProduct",
            method: "POST",
            data: data
        })
    },
  

}